const { defineConfig } = require('@vue/cli-service');
const path = require('path');
module.exports = defineConfig({
	transpileDependencies: true,
	configureWebpack: (config) => {
		config.module.rules.push({
			test: /\.glsl$/,
			use: [
				{
					loader: 'webpack-glsl-loader',
				},
				{
					loader: 'glslify-loader',
					options: {},
				},
			],
			include: path.resolve(__dirname, 'src/shader'),
		});
	},
});
